<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{:session('cp.cpsysname')}--商户管理平台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="{:config('webconfig.description');}">
    <meta name="keywords" content="{:config('webconfig.keywords');}">
    <meta name="author" content="runoob">
    <link rel="stylesheet" href="__STATIC_URL__/static/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/css/bootstrap-datetimepicker.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/css/index.css"/>
    <script src="__STATIC_URL__/static/js/jquery-2.1.4.min.js"></script>
    <script src="__STATIC_URL__/static/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="__STATIC_URL__/static/js/bootstrap-datetimepicker.js" type="text/javascript" charset="utf-8"></script>
    <script src="__STATIC_URL__/static/js/commen.js" type="text/javascript" charset="utf-8"></script>

</head>
<body>
{include file='public/header'/}
<!------------------导航-------------------------->
<section>
    {include file='public/left'/}
    <!--------------------------主要内容区域------------------------------------->
    <div class="content">

        <div class="panel mgl15 mgr15">
            <div class="panel-body">
                <!--路径导航-->
                <ol class="breadcrumb">
                    <li>
                        <a href="javascript:;">门店管理</a>
                    </li>
                    <li class="active">小票设置</li>
                </ol>
                <div>
                    <div>


                        <div class="panel panel-default ng-scope">

                            <form action="" method="post">
                                <div class="panel-heading">
                                    小票设置
                                </div>
                                <div class="panel-body">

                                    <div class="col-sm-12">
                                        <div class="form-horizontal" data-label="商户号">
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label">商户号</label>
                                                <div class="col-sm-8">
                                                    <textarea class="form-control" style="resize: none;" rows="4"
                                                              name="mchid_list" autocomplete="off" placeholder=""
                                                              required="required"></textarea>
                                                    <div class="r-message text-danger"></div>
                                                    <div class="r-desc ">支持赠券规则的商户号列表。注意：请用小写 , 号分割。
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="col-sm-12">
                                        <div class="form-horizontal" data-label="选择卡券">
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label">选择卡券</label>
                                                <div class="col-sm-8">

                                                    <div class="r-message text-danger"></div>
                                                    <div class="r-desc ">选择要赠送的卡券。
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-sm-12">
                                        <div class="form-horizontal" data-label="开始时间"
                                             data-layout="horizontal">
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label">开始时间</label>
                                                <div class="col-sm-8">
                                                    <input type="text" name="begin_time" class="form-control" placeholder="请选择开始时间" readonly="readonly" id="starttime">
                                                    <div class="r-message text-danger"></div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="form-horizontal" data-label="结束时间"
                                             data-layout="horizontal">
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label">结束时间</label>
                                                <div class="col-sm-8">
                                                    <input type="text" name="end_time" class="form-control" readonly="readonly" placeholder="请选择结束时间" id="endtime">
                                                    <div class="r-message text-danger"></div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>


                                    <div class="col-sm-12">
                                        <div class="form-horizontal" data-layout="horizontal">
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label">最小金额</label>
                                                <div class="col-sm-8">
                                                    <input type="text" class="form-control" autocomplete="off"
                                                           placeholder="" name="lcost" required="required">
                                                    <div class="r-message text-danger"></div>
                                                    <div class="r-desc ">
                                                        本次规则生效支付金额下限，开启时须填写。（单位：元）
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>


                                    <div class="col-sm-12">
                                        <div class="form-horizontal">
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label ng-binding">最大金额</label>
                                                <div class="col-sm-8">
                                                    <input type="text" class="form-control" autocomplete="off"
                                                           placeholder="" name="mcost" required="required">
                                                    <div class="r-message text-danger"></div>
                                                    <div class="r-desc">
                                                        本次规则生效支付金额上限，开启时须填写。（单位：元）
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>




                                </div>
                                <div class="alert alert-danger"
                                     style="margin:0;">最小金额不能为空
                                </div>
                        </div>
                        <div class="panel-footer">
                            <button class="btn btn-success" type="submit">保存</button>
                        </div>
                        </form>

                        <div class="alert alert-danger" role="alert">
                            暂时只可存在一条支付后赠券规则。
                        </div>

                    </div>

                    <div class="panel panel-default ng-scope">
                        <div class="panel-heading">
                            功能说明
                        </div>
                        <div class="panel-body">
                            <p>
                                <small>用户在微信支付后自动为用户发送一条领卡消息，用户点击消息即可领取卡券。</small>
                            </p>
                            <div class="row">
                                <div class="col-lg-6">
                                    <!--<img class="img-responsive" src="__STATIC_URL__/static/images/0.jpg">-->
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    {include file='public/footer'/}
    </div>
</section>
<script>

</script>
</body>

</html>
